package com.basic.modules.nykf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.basic.modules.nykf.entity.CustomerEntity;
import com.basic.modules.nykf.entity.CustomerShopEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerDao extends BaseMapper<CustomerEntity> {

    List<CustomerEntity> getCustomerList(@Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize, @Param("params") CustomerEntity params);

    int getCustomerListCount(@Param("params") CustomerEntity params);

    List<CustomerShopEntity> getCustomerShopList(String tskhmc);
}
